Skip to contentSkip to conversation

cryptodev: Update to latest git for 6.5 kernel fixes

PATCH In review Richard Purdie 3 participants 6 messages Oct 6, 2023 – Oct 13, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 cryptodev: Update to latest git for 6.5 kernel fixes

Update to pull in recent git changes which allow cryptodev to work with 6.5 kernels.

---
 meta/recipes-kernel/cryptodev/cryptodev.inc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
meta/recipes-kernel/cryptodev/cryptodev.inc +2 -1
index 61c688f1d0e..64a9c2926b8 100644
@@ -10,7 +10,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
 
 SRC_URI = "git://github.com/cryptodev-linux/cryptodev-linux;branch=master;protocol=https \
            "
-SRCREV = "795f5fda1485d447cdbad342e8304be317d4f7e8"
+SRCREV = "bb8bc7cf60d2c0b097c8b3b0e807f805b577a53f"
+PV = "1.13+git${SRCPV}"
 
 S = "${WORKDIR}/git"
 
Signature · 1 line
2.39.2
#1 lore raw

PATCH 2/2 qemux86/qemuarm: Drop kernel version overrides

Drop the version overrides for the kernel for the x86 and arm machines so we can go back to following the distro versions. The reasons for these versions is mostly historical at this point as the issues were resolved.

---
 meta/conf/machine/include/x86/x86-base.inc | 1 -
 meta/conf/machine/qemuarm.conf             | 4 ----
 meta/conf/machine/qemuarmv5.conf           | 1 -
 3 files changed, 6 deletions(-)
meta/conf/machine/include/x86/x86-base.inc +0 -1
index 050c20af70c..fc6c39148db 100644
@@ -18,7 +18,6 @@ SERIAL_CONSOLES ?= "115200;ttyS0"
 # kernel-related variables
 #
 PREFERRED_PROVIDER_virtual/kernel ??= "linux-yocto"
-PREFERRED_VERSION_linux-yocto ??= "6.4%"
 
 #
 # XSERVER subcomponents, used to build the XSERVER variable
meta/conf/machine/qemuarm.conf +0 -4
index 04216cdc2e0..881733eb2da 100644
@@ -28,8 +28,4 @@ QB_ROOTFS_OPT = "-drive id=disk0,file=@ROOTFS@,if=none,format=raw -device virtio
 QB_SERIAL_OPT = "-device virtio-serial-device -chardev null,id=virtcon -device virtconsole,chardev=virtcon"
 QB_TCPSERIAL_OPT = "-device virtio-serial-device -chardev socket,id=virtcon,port=@PORT@,host=127.0.0.1 -device virtconsole,chardev=virtcon"
 
-# 6.4 causes Xorg to fail to read the virtio framebuffer so stick with 6.1 until
-# that is resolved.
-PREFERRED_VERSION_linux-yocto ??= "6.1%"
-
 KMACHINE:qemuarm = "qemuarma15"
meta/conf/machine/qemuarmv5.conf +0 -1
index deb4869c0aa..f0a86f1e4c7 100644
@@ -16,5 +16,4 @@ QB_GRAPHICS = "-device virtio-gpu-pci"
 QB_OPT_APPEND = "-device qemu-xhci -device usb-tablet -device usb-kbd"
 QB_DTB = "${@oe.utils.version_less_or_equal('PREFERRED_VERSION_linux-yocto', '4.7', '', 'zImage-versatile-pb.dtb', d)}"
 
-PREFERRED_VERSION_linux-yocto ??= "6.4%"
 KMACHINE:qemuarmv5 = "arm-versatile-926ejs"
Signature · 1 line
2.39.2
#2 lore raw

Re: [OE-core] [PATCH 2/2] qemux86/qemuarm: Drop kernel version overrides

Quoted 44 lines · Richard Purdie

Drop the version overrides for the kernel for the x86 and arm machines so we can go back to following the distro versions. The reasons for these versions is mostly historical at this point as the issues were resolved.

---
  meta/conf/machine/include/x86/x86-base.inc | 1 -
  meta/conf/machine/qemuarm.conf             | 4 ----
  meta/conf/machine/qemuarmv5.conf           | 1 -
  3 files changed, 6 deletions(-)
meta/conf/machine/include/x86/x86-base.inc +0 -1
index 050c20af70c..fc6c39148db 100644
@@ -18,7 +18,6 @@ SERIAL_CONSOLES ?= "115200;ttyS0"
  # kernel-related variables
  #
  PREFERRED_PROVIDER_virtual/kernel ??= "linux-yocto"
-PREFERRED_VERSION_linux-yocto ??= "6.4%"
 
  #
  # XSERVER subcomponents, used to build the XSERVER variable
meta/conf/machine/qemuarm.conf +0 -4
index 04216cdc2e0..881733eb2da 100644
@@ -28,8 +28,4 @@ QB_ROOTFS_OPT = "-drive id=disk0,file=@ROOTFS@,if=none,format=raw -device virtio
  QB_SERIAL_OPT = "-device virtio-serial-device -chardev null,id=virtcon -device virtconsole,chardev=virtcon"
  QB_TCPSERIAL_OPT = "-device virtio-serial-device -chardev socket,id=virtcon,port=@PORT@,host=127.0.0.1  -device virtconsole,chardev=virtcon"
 
-# 6.4 causes Xorg to fail to read the virtio framebuffer so stick with 6.1 until
-# that is resolved.
-PREFERRED_VERSION_linux-yocto ??= "6.1%"
-
  KMACHINE:qemuarm = "qemuarma15"
meta/conf/machine/qemuarmv5.conf +0 -0
index deb4869c0aa..f0a86f1e4c7 100644
@@ -16,5 +16,4 @@ QB_GRAPHICS = "-device virtio-gpu-pci"
  QB_OPT_APPEND = "-device qemu-xhci -device usb-tablet -device usb-kbd"
  QB_DTB ="${@oe.utils.version_less_or_equal('PREFERRED_VERSION_linux-yocto', 
Quoted 2 lines

'4.7', '', 'zImage-versatile-pb.dtb', d)}"

Removing this bit results in the above line causing an ExpansionError, since PREFERRED_VERSION_linux-yocto isnt defined anywhere anymore (if not using poky.conf)

What would be the right approach to solve this issue?, Should QB_DTB be depending on such variable?

Cheers,
Alejandro

Quoted 11 lines

-PREFERRED_VERSION_linux-yocto ??= "6.4%"
KMACHINE:qemuarmv5 = "arm-versatile-926ejs"

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188762):https://lists.openembedded.org/g/openembedded-core/message/188762 Mute This Topic:https://lists.openembedded.org/mt/101795562/4354175
Group Owner:[email protected] Unsubscribe:https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#3 lore raw

Re: [OE-core] [PATCH 2/2] qemux86/qemuarm: Drop kernel version overrides

Quoted 73 lines · Alejandro Enedino Hernandez Samaniego



On 10/6/23 05:36, Richard Purdie wrote:

Quoted 53 lines


Drop the version overrides for the kernel for the x86 and arm machines
so we can go back to following the distro versions. The reasons for these versions is mostly historical at this point as the issues were
resolved.

---

 meta/conf/machine/include/x86/x86-base.inc | 1 -
 meta/conf/machine/qemuarm.conf             | 4 ----
 meta/conf/machine/qemuarmv5.conf           | 1 -
 3 files changed, 6 deletions(-)
meta/conf/machine/include/x86/x86-base.inc +0 -0
index 050c20af70c..fc6c39148db 100644
@@ -18,7 +18,6 @@ SERIAL_CONSOLES ?= "115200;ttyS0"
  # kernel-related variables
  #

 PREFERRED_PROVIDER_virtual/kernel ??= "linux-yocto" -PREFERRED_VERSION_linux-yocto ??= "6.4%"

 #
 # XSERVER subcomponents, used to build the XSERVER variable

meta/conf/machine/qemuarm.conf +0 -0
index 04216cdc2e0..881733eb2da 100644
@@ -28,8 +28,4 @@ QB_ROOTFS_OPT = "-drive

id=disk0,file=@ROOTFS@,if=none,format=raw -device virtio QB_SERIAL_OPT = "-device virtio-serial-device -chardev null,id=virtcon -device virtconsole,chardev=virtcon" QB_TCPSERIAL_OPT = "-device virtio-serial-device -chardev socket,id=virtcon,port=@PORT@,host=127.0.0.1 -device virtconsole,chardev=virtcon"

-# 6.4 causes Xorg to fail to read the virtio framebuffer so stick with 6.1 until

meta/conf/machine/qemuarm.conf +0 -3
-# that is resolved.
-PREFERRED_VERSION_linux-yocto ??= "6.1%"
-

 KMACHINE:qemuarm = "qemuarma15"

meta/conf/machine/qemuarmv5.conf +0 -0
index deb4869c0aa..f0a86f1e4c7 100644
@@ -16,5 +16,4 @@ QB_GRAPHICS = "-device virtio-gpu-pci"
Quoted 7 lines

 QB_OPT_APPEND = "-device qemu-xhci -device usb-tablet -device usb- kbd"
 QB_DTB = "${@oe.utils.version_less_or_equal('PREFERRED_VERSION_linux-yocto', '4.7', '', 'zImage-versatile-pb.dtb', d)}"


Removing this bit results in the above line causing an ExpansionError, since
PREFERRED_VERSION_linux-yocto isnt defined anywhere anymore (if not using poky.conf)

Quoted 2 lines

What would be the right approach to solve this issue?, Should QB_DTB be depending on such variable?

4.7 is old enough we can probably just drop the conditional now?

Cheers,

Richard

#4 lore raw

Re: [OE-core] [PATCH 2/2] qemux86/qemuarm: Drop kernel version overrides

Quoted 75 lines · Richard Purdie
Quoted 73 lines · Alejandro Enedino Hernandez Samaniego
Quoted 54 lines · Richard Purdie

Drop the version overrides for the kernel for the x86 and arm machines
so we can go back to following the distro versions. The reasons for these versions is mostly historical at this point as the issues were
resolved.

---
 meta/conf/machine/include/x86/x86-base.inc | 1 -
 meta/conf/machine/qemuarm.conf             | 4 ----
 meta/conf/machine/qemuarmv5.conf           | 1 -
 3 files changed, 6 deletions(-)
meta/conf/machine/include/x86/x86-base.inc +0 -1
index 050c20af70c..fc6c39148db 100644
@@ -18,7 +18,6 @@ SERIAL_CONSOLES ?= "115200;ttyS0"
 # kernel-related variables
 #
 PREFERRED_PROVIDER_virtual/kernel ??= "linux-yocto"
-PREFERRED_VERSION_linux-yocto ??= "6.4%"
 
 #
 # XSERVER subcomponents, used to build the XSERVER variable
meta/conf/machine/qemuarm.conf +0 -0
index 04216cdc2e0..881733eb2da 100644
@@ -28,8 +28,4 @@ QB_ROOTFS_OPT = "-drive

id=disk0,file=@ROOTFS@,if=none,format=raw -device virtio
QB_SERIAL_OPT = "-device virtio-serial-device -chardev
null,id=virtcon -device virtconsole,chardev=virtcon"
QB_TCPSERIAL_OPT = "-device virtio-serial-device -chardev
socket,id=virtcon,port=@PORT@,host=127.0.0.1 -device virtconsole,chardev=virtcon"

-# 6.4 causes Xorg to fail to read the virtio framebuffer so stick with 6.1 until

meta/conf/machine/qemuarm.conf +0 -3
-# that is resolved.
-PREFERRED_VERSION_linux-yocto ??= "6.1%"
-
 KMACHINE:qemuarm = "qemuarma15"
meta/conf/machine/qemuarmv5.conf +0 -0
index deb4869c0aa..f0a86f1e4c7 100644
@@ -16,5 +16,4 @@ QB_GRAPHICS = "-device virtio-gpu-pci"
 QB_OPT_APPEND = "-device qemu-xhci -device usb-tablet -device usb-
Quoted 6 lines

kbd"
QB_DTB =
"${@oe.utils.version_less_or_equal('PREFERRED_VERSION_linux-yocto', '4.7', '', 'zImage-versatile-pb.dtb', d)}"

Removing this bit results in the above line causing an ExpansionError, since
PREFERRED_VERSION_linux-yocto isnt defined anywhere anymore (if not using poky.conf)

Quoted 5 lines
Quoted 2 lines

What would be the right approach to solve this issue?, Should QB_DTB be depending on such variable?

4.7 is old enough we can probably just drop the conditional now?

Yep, that should be safe. It hasn't changed name or format in quite some time.

(Although there has been some re-organization in 6.5/6.6 around device trees, but that shouldn't come into play here).

Bruce

Quoted 17 lines

Cheers,

Richard

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#188972):
https://lists.openembedded.org/g/openembedded-core/message/188972
Mute This Topic: https://lists.openembedded.org/mt/101795562/1050810
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end
- "Use the force Harry" - Gandalf, Star Trek II
#5 lore raw

Re: [OE-core] [PATCH 2/2] qemux86/qemuarm: Drop kernel version overrides

Quoted 90 lines · Bruce Ashfield

On Wed, Oct 11, 2023 at 5:39 PM Richard Purdie <[email protected]> wrote:

    On Tue, 2023-10-10 at 19:11 -0600, Alejandro Enedino Hernandez
    Samaniego wrote:
    >
    >
    >
    >
    > On 10/6/23 05:36, Richard Purdie wrote:
    >
    >
    > >
    > > Drop the version overrides for the kernel for the x86 and arm
    > > machines
    > > so we can go back to following the distro versions. The
    reasons for
    > > these versions is mostly historical at this point as the issues
    > > were
    > > resolved.
    > >
    > > Signed-off-by: Richard Purdie <[email protected]>
    > > ---
    > >  meta/conf/machine/include/x86/x86-base.inc | 1 -
    > >  meta/conf/machine/qemuarm.conf             | 4 ----
    > >  meta/conf/machine/qemuarmv5.conf           | 1 -
    > >  3 files changed, 6 deletions(-)
    > >
    > > diff --git a/meta/conf/machine/include/x86/x86-base.inc
    > > b/meta/conf/machine/include/x86/x86-base.inc
    > > index 050c20af70c..fc6c39148db 100644
    > > --- a/meta/conf/machine/include/x86/x86-base.inc
    > > +++ b/meta/conf/machine/include/x86/x86-base.inc
    > > @@ -18,7 +18,6 @@ SERIAL_CONSOLES ?= "115200;ttyS0"
    > >  # kernel-related variables
    > >  #
    > >  PREFERRED_PROVIDER_virtual/kernel ??= "linux-yocto"
    > > -PREFERRED_VERSION_linux-yocto ??= "6.4%"
    > >
    > >  #
    > >  # XSERVER subcomponents, used to build the XSERVER variable
    > > diff --git a/meta/conf/machine/qemuarm.conf
    > > b/meta/conf/machine/qemuarm.conf
    > > index 04216cdc2e0..881733eb2da 100644
    > > --- a/meta/conf/machine/qemuarm.conf
    > > +++ b/meta/conf/machine/qemuarm.conf
    > > @@ -28,8 +28,4 @@ QB_ROOTFS_OPT = "-drive
    > > id=disk0,file=@ROOTFS@,if=none,format=raw -device virtio
    > >  QB_SERIAL_OPT = "-device virtio-serial-device -chardev
    > > null,id=virtcon -device virtconsole,chardev=virtcon"
    > >  QB_TCPSERIAL_OPT = "-device virtio-serial-device -chardev
    > > socket,id=virtcon,port=@PORT@,host=127.0.0.1 -device
    > > virtconsole,chardev=virtcon"
    > >
    > > -# 6.4 causes Xorg to fail to read the virtio framebuffer so stick
    > > with 6.1 until
    > > -# that is resolved.
    > > -PREFERRED_VERSION_linux-yocto ??= "6.1%"
    > > -
    > >  KMACHINE:qemuarm = "qemuarma15"
    > > diff --git a/meta/conf/machine/qemuarmv5.conf
    > > b/meta/conf/machine/qemuarmv5.conf
    > > index deb4869c0aa..f0a86f1e4c7 100644
    > > --- a/meta/conf/machine/qemuarmv5.conf
    > > +++ b/meta/conf/machine/qemuarmv5.conf
    > > @@ -16,5 +16,4 @@ QB_GRAPHICS = "-device virtio-gpu-pci"
    > >  QB_OPT_APPEND = "-device qemu-xhci -device usb-tablet -device
    usb-
    > > kbd"
    > >  QB_DTB =
    > >
    "${@oe.utils.version_less_or_equal('PREFERRED_VERSION_linux-yocto',
    > > '4.7', '', 'zImage-versatile-pb.dtb', d)}"
    > >
    > >
    >
    > Removing this bit results in the above line causing an
    > ExpansionError, since
    > PREFERRED_VERSION_linux-yocto isnt defined anywhere anymore (if not
    > using poky.conf)
    >
    > What would be the right approach to solve this issue?, Should QB_DTB
    > be depending on such variable?

    4.7 is old enough we can probably just drop the conditional now?

Yep, that should be safe. It hasn't changed name or format in quite some time.

Quoted 9 lines

(Although there has been some re-organization in 6.5/6.6 around device trees, but that shouldn't come into play here).

Bruce

Cheers,

Richard

Great, thanks for the pointers, sending patch.

Alejandro

Quoted 19 lines
Signature · 13 lines
-- 
- Thou shalt not follow the NULL pointer, for chaos and madness await 
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188973):https://lists.openembedded.org/g/openembedded-core/message/188973
Mute This Topic:https://lists.openembedded.org/mt/101795562/4354175
Group Owner:[email protected]
Unsubscribe:https://lists.openembedded.org/g/openembedded-core/unsub  [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-